import Vue from 'vue'
import VueI18n from 'vue-i18n'
import { getLang } from '../src/utils/auth'

Vue.use(VueI18n)
export const i18n = new VueI18n({
    locale: getLang() || "ZH",    // 语言标识
    messages: {
      'ZH': require('./assets/language/zh'),   // 中文语言包 / Chinese Translation
      'EN': require('./assets/language/en')    // 英文语言包 / English Translation
    }
})
